<?php
include $this->Render('header.php');
?>
<link rel="stylesheet" type="text/css" href="<?php echo BASE_STYLE;?>/css/admin.css" />
<style type="text/css">
	.danbaoren-box table tr td {padding-bottom:10px;}
</style>
<form action="/order/faoaudit/option/backsave/" method="post" name="form1" class="J-ajaxForm" id="form1">
<div class="daish-box" style="height:350px;overflow-y:scroll;overflow-x:hidden;width: auto; padding-left: 30px;padding-top: 15px;color: #444444;margin-left:0;margin-top:0; box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box;">
	<div class="danbaoren-box" style="width:580px;">
    	<div class="J-danbaoren-list">
            <div class="J-danbao-data">
            	<table width="100%" cellpadding="0" cellspacing="0" border="0">
            		<tr>
            			<td width="120px">是否锁定车辆信息：</td>
            			<td> 
            				<select name="lock_car">
                            	<option value="lock">锁定车辆信息</option>
                                <option value="unlock">不锁定车辆信息</option>
                            </select>
            			</td>
            		</tr>
                	<tr>
                    	<td width="80px">退回到状态：</td>
                        <td>
                        	<select name="status">
                            	<option value="征信查询">退回到初审录入</option>
                            </select>
                        </td>
                    </tr>
                    <tr>
                    	<td>备　　　注：</td>
                        <td>
                        	<textarea name="remarks" style="width:400px; height:80px; background:none; resize:none; vertical-align:text-top;"></textarea>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
 
    <div style=" height:40px; overflow:hidden; margin-top:20px;">
    	<input type="hidden" name="oid" value="<?php echo $this->oid;?>" />
        <input type="submit" class="btn-submit-blue J-submit fn-left mr10" value="提交" />
        <a href="" class="a-btn-close J-a-btn-close fn-left">关闭</a>
    </div>
</div>
</form>

<script>
	//关闭弹出
	$(".J-a-btn-close").on('click',function(){
		
		var winElement = parent.Ext.fly(window.frameElement).up('div.x-window');
		parent.Ext.getCmp(winElement.id).close();
		
	});
	
	$(document).ready(function(e) {
        $(".J-submit").on('click',function(){
			$(this).dyhlForm({
				beforefunction:chk,
				nofunction:function(){
					$(".J-submit").prop('disabled',false);
					Ext.getBody().unmask();
				},
				sucessfunction:function(data){
					$(".J-submit").prop('disabled',false);
					if(data['success']){
						Ext.getBody().unmask();
						Ext.Msg.alert('提示','提交成功',function(){
							window.parent.location.href='/order/faolist/';
						});
						//window.location.reload();
					}else{
						Ext.Msg.alert('提示',data['msg']);
					}
				}	
			});	
		Ext.getBody().mask("数据提交中，请稍等");});
    });
	
	function chk(){
		$(".J-submit").prop('disabled',true);	
	}
	
</script>
<?php include $this->Render('footer.php'); ?>
